#pragma once
#include<iostream>
#include <string>
#include <cstring>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <unistd.h>
#include<netinet/in.h>
#include<arpa/inet.h>
enum ExitCode{
OK=0,
SOCKET_FAIL,
BIND_FAIL,
LISTEN_FAIL,
FORK_FAIL
};
#define CONV(peer) ((struct sockaddr*)&peer)